<template>
  <view class="visiting-history">
    <CommonHeader>外勤打卡记录</CommonHeader>
    <view class="visiting-sign" v-if="signShow">
      暂无打卡记录
    </view>
    <view class="visitingList">
      <view
        class="visitingItem"
        v-for="(item, index) in visitingList"
        :key="item.id"
      >
        <view class="itemNumber">
          {{ index + 1 }}
        </view>
        <view class="itemArea"> 位置：{{ item.clockAddress }} </view>
        <van-field
          label="拜访信息"
          :value="item.visitContent"
          type="textarea"
          placeholder="未填写"
          autosize
          :border="false"
          label-class="label-class"
          input-class="input-class"
          readonly
        />
        <view class="itemTime">
          {{ item.workClockTime }}
        </view>
      </view>
    </view>
  </view>
</template>
<script src="./script.js"></script>
<style src="./style.less" lang="less"></style>
